package com.javasm.crm.domin.entity.aftersale;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.javasm.crm.domin.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author lirui
 * @since 2021-07-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@TableName("aftersale_refacoutapply")
public class RefacOutApply extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 出库申请单编号
     */
    private String odoCode;

    /**
     * 返厂地点
     */
    private String refacLocation;

    /**
     * 返厂原因
     */
    private String refacReason;

    /**
     * 备注
     */
    private String comments;

    /**
     * 状态（待出库、已出库）
     */
    private Integer status;

    /**
     * 制单人
     */
    private String createBy;

    /**
     * 审批人
     */
    private String approver;

    /**
     * 审批状态
     */
    private Integer approveStatus;

    /**
     * 审批时间
     */
    private LocalDateTime approverTime;

    /**
     * 审批意见
     */
    private String approverComments;


}
